package com.tmpt.others;

import org.hibernate.Hibernate;
import org.hibernate.dialect.PostgreSQL9Dialect;
import org.hibernate.dialect.SQLServerDialect;
import org.hibernate.type.StandardBasicTypes;

import java.sql.Types;

/**
 * Created by zhoup on 2016/12/27.
 */
public class PostgresqlDialect extends PostgreSQL9Dialect {
    public PostgresqlDialect() {
        super();
        registerHibernateType(Types.OTHER, StandardBasicTypes.CHARACTER.getName());

    }
}
